import Vue from 'vue';
import Router from 'vue-router';
import Oil from '@/components/Oil';

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/oil',
      name: 'Oil',
      component: Oil,
    },
    {path: '/', redirect: '/oil', hidden: true},
    {path: '*', redirect: '/', hidden: true},
  ],
});
